package com.subaiqiao.yunshiyuan.entrance.ysy.mapper;

import com.subaiqiao.yunshiyuan.entrance.ysy.pojo.SysCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 曹朝禹
 * @since 2022-05-13
 */
@Mapper
public interface SysCategoryMapper extends BaseMapper<SysCategory> {

    @Select("SELECT COUNT(*) FROM sys_category")
    Integer FindSysCategoryCount();
}
